package com.ktjiaoyu.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjiaoyu.crm.pojo.Role;
import com.ktjiaoyu.crm.pojo.RoleRight;
import org.apache.ibatis.annotations.Param;

public interface RoleRightMapper extends BaseMapper<RoleRight> {

    boolean saveRoleRight(@Param("role") Role role, @Param("rightCodes")String[] rightCodes);

}